//
//  UserListCell.m
//  血氧宝
//
//  Created by YFB on 15/4/8.
//  Copyright (c) 2015年 上海贝瑞电子科技. All rights reserved.
//

#import "UserListCell.h"
#import "FitHeader.h"
@implementation UserListCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _nameLabel = [[UILabel alloc]initWithFrame:CGRectMake(2 *FitWidth, 10 *FitHeight, 100 *FitWidth, 30 *FitHeight)];
        _nameLabel.textAlignment = 0;
        _nameLabel.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_nameLabel];
        
        _rightView = [[UIImageView alloc]initWithFrame:CGRectMake( MyWidth - 105 *FitWidth, 20 *FitHeight, 6 *FitWidth, 10 *FitHeight)];
        [self.contentView addSubview:_rightView];
        
        _lineView = [[UIImageView alloc]initWithFrame:CGRectMake(0, 49 *FitHeight, 296 *FitWidth, 1 *FitHeight)];
        _lineView.image = [UIImage imageNamed:@"user003@2x"];
        _lineView.alpha = 0.5;
        [self.contentView addSubview:_lineView];
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
